home *** CD-ROM | disk | FTP | other *** search
/ Univers Interactif 3 / INTERACTIF.BIN / pc / planeten / internet / lpdaemon.sit / lpDaemon ƒ / LPD.config < prev    next >
Text File  |  1994-09-13  |  6KB  |  133 lines

  1. #######################################################################################
  2. # Debugging mode may be toggled from the menu, but sometimes we want
  3. # to debug the config so debugging may also be toggled here using
  4. # the DEBUG command.
  5. #
  6. # DEBUG    # turn it on....
  7. #
  8. # The NOACTION flag turns off printing.  Files are still spooled, but not deleted which
  9. # is useful for debugging, particularly of the control file. Note that lpDaemon does not
  10. # translated line-feeds to carriage returns when spooling files, but does recognise the
  11. # end of line when printing so when examining the control file most Mac text editors
  12. # will show the file as on long line with little boxes where the end of line should be.
  13. #
  14. # NOACTION
  15. #
  16. #######################################################################################
  17. # lpDaemon sends e-mail to the owner of files when errors occur, and to an administrator
  18. # when the log file is cleared.  If your setup does not support BSD sendmail uncomment
  19. # the following
  20. #
  21. # NOMAIL
  22. #
  23. #######################################################################################
  24. # If a printer is postscript lpDaemon attempts to query the printer before and after
  25. # printing a file for the number of pages printed.  The differences is recorded
  26. # in the log file.  Uncomment the following to stop that if it causes troubles.
  27. #
  28. # NOACNT
  29. #
  30. #######################################################################################
  31. # lpDaemon looks in the Laser Writer driver file for the PAP resources as well as the
  32. # selected printer.  The default is to look for a file called "LaserWriter" in the
  33. # System Folder under < sys 7 or in the Extensions folder >= 7.  If your laser writer
  34. # driver is called something other than LaserWriter uncomment the following and change
  35. # the name.
  36. #
  37. # LASERWRITER    "LaserWriter"    # the default is LaserWriter
  38. #
  39. #######################################################################################
  40. # RFC1179 tells us that the format for print control file names is :
  41. #                 cfANNNxxxxx
  42. # where NNN is a3 digit job number and xxxxx is the name of the host that is
  43. # printing.  lpDaemon looks for file with the cfA prefix in it's spool folder when
  44. # looking for print jobs.  Unfortunately not all systems seem to follow this convention
  45. # so it may be over written here.
  46. #
  47. # CTLFIL    cfA                # the default is cfA
  48. #
  49. #######################################################################################
  50. # The ADMIN defines an account that will be mailed when the
  51. # log-file is cleared.
  52. #
  53. ADMIN    admin@host.domain
  54. #
  55. #######################################################################################
  56. # Each PRINTER defines a name by which a printer is known and some
  57. # information about the printer.  If a name contains spaces the
  58. # name string should be quoted with the "
  59. #
  60. # The syntax is :
  61. #    PRINTER  <name1>  PAP|SERIAL  <name2> [baud stop parity bits] [POSTSCRIPT]
  62. # where :
  63. #    <name1>    is the name by which the printer is addressed from the unix host
  64. #                this would be the rn entry in the printcap file
  65. #    PAP|SERIAL defines whether the printer is connected by AppleTalk or
  66. #                a serial connection
  67. #     <name2>    is the 'Name Binding Protocol' name (the name seen in the chooser),
  68. #               or the name of the serial driver (eg ".aout")
  69. #     [baud stop parity bits] is only for SERIAL printers.  Vaild entries :
  70. #                    baud:
  71. #                        300, 600, 1200, 1800, 2400, 3600
  72. #                        4800, 7200, 9600, 19200, 57600
  73. #                    stop:
  74. #                        10: 1 stop bits
  75. #                        15: 1 & half stop bits
  76. #                        20: 2 stop bits
  77. #                    parity:
  78. #                        N: no parity
  79. #                        O: odd parity
  80. #                        E: even parity
  81. #                    bits:
  82. #                        5, 6, 7, 8
  83. #
  84. #     POSTSCRIPT is used only for postscript printers, when used lpDaemon will
  85. #                check for %! as the first two bytes in any file sent to this
  86. #                printer, rejecting any that do not have this, and if ACCOUNTING
  87. #                is enabled will try to get the number of pages printed.
  88. #
  89. # printing to the printer from a unix machine would use the the command :
  90. #
  91. #                lpr -P<name1> files...
  92. #
  93. PRINTER        pslaser            PAP        ""    POSTSCRIPT            # default
  94. PRINTER        lp                PAP        ""    POSTSCRIPT            # default
  95. PRINTER        ImageWriter        SERIAL    ".aout"    9600 10 N 8        # modem port
  96. #
  97. #PRINTER    laser2            PAP        "Personal LaserWriter NT"            POSTSCRIPT    #
  98. #PRINTER    laser3            PAP        "Personal LaserWriter NT:@Zone2"  POSTSCRIPT    #
  99. #PRINTER    hp4m            SERIAL    ".aout" 9600 10 N 8  POSTSCRIPT
  100. #
  101. #
  102. #######################################################################################
  103. # The following defines the hosts that may print to the daemon.  It may be a name or an
  104. # IP number.  If it is a name it must be one that can be resolved by MacTCP's DNR
  105. #
  106. HOST        host0.domain
  107. HOST        555.555.555.555
  108. HOST        host1.domain
  109. HOST        host2.domain
  110. HOST        host3.domain
  111. HOST        host4.domain
  112. HOST        host5.domain
  113. HOST        host6.domain
  114. HOST        host7.domain
  115. #
  116. #######################################################################################
  117. # lpDaemon will attempt to mail the user who printed the file if any errors
  118. # occur.  Sometimes the mail server is not the same as the source of
  119. # the print job so lpDaemon understands some simple mail aliasing.
  120. #
  121. # The following are used for mail aliases.  If the user is not specified
  122. # it means "any user".  It may only be left out on the destination if it
  123. # was also left out of the source.  In the first example any user at the
  124. # the machine "host1" will cause mail to be sent to "user1" at "host0"
  125. #
  126. ALIAS        @host1        user1@host0
  127. ALIAS        @host2        @host9
  128. ALIAS        @host3        @host9
  129. ALIAS        @host4        @host9
  130. ALIAS        @host5        @host9
  131. ALIAS        root@host8    user2@host0
  132. #
  133.